<template>
  <div>
    <button @click="fn">按钮</button>
    <button @click="hand">点击传递参数</button>
  </div>
</template>

<script>
export default {
  methods: {
    fn(e) {
      // console.log(e);
      console.log('点击了按钮');
    },
      
  }
}
</script>

<style>

</style>